<?php

  function increment_counter($name, $delta = 1) {
    $delta = (int) $delta;
    $name = str_replace("\n", " ", $name);
    error_log(time()." $delta $name\n", 3, log_file_path());
  }
  
  function log_file_path() {
    return dirname(__file__)."/data/.htprodeagle.log";
  }
?>